package com.author.server.service;

import com.auth.service.api.Account;

/**
 * @Author:RenPu
 * @Date: 2020/10/28 20:25
 * @Version: 1.0
 * @description: jwt服务的业务接口
 */
public interface JwtService {


    //生产token
    public String getToken(Account account);

    //token校验
    public boolean verify(String username, String token);

    //重新签发token
    public String refresh();


}
